package com.api.shopapi.entity;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


@Setter
@Getter
@Data
@ToString
public class PreCheck {
    //0:正常，1：异常
    private int Error;
    //异常信息
    private String Message;

    public PreCheck(int error,String message){
        this.setError(error);
        this.setMessage(message);
    }

}
